package com.etc.service;

import com.etc.entity.Cinema;
import com.etc.entity.Movie;
import com.etc.util.PageData;

import java.util.List;


public interface CinemaService {
    /**
     * 增加影厅
     * @param cinema
     * @return Cinema
     */
    public Cinema addcinema(Cinema cinema);

    /**
     * 删除影厅
     * @param cid
     * @return boolean
     */
    public boolean deletecinema(Integer cid);
    /**
     * 修改影厅
     * @param cinema
     * @return boolean
     */
    public Cinema updatecinema(Cinema cinema);

    /**
     * 根据id查影厅
     * @param cid
     * @return Cinema
     */
    public Cinema getcinema(Integer cid);
    /**
     * 根据名字查影厅
     * @param cname
     * @return Cinema
     */
    public List<Cinema> getcinema(String cname);

    /**
     *查所有的影厅名
     * @return List
     */
    public List<Cinema> findAllcname();

    public PageData<Cinema> getCinemaByPage(int page, int pageSize, String content);

    public List<Movie> showAddList();



}